import type { ProColumns } from '@ant-design/pro-table';
export type columnsDataType = {};
const columnsData: ProColumns<columnsDataType>[] = [
  // 配置搜索框
  {
    title: '名称',
    dataIndex: 'name',
    hideInTable: true,
  },
  {
    title: '标识编码',
    dataIndex: 'key',
    hideInTable: true,
  },
  // 表头
  {
    title: '名称',
    dataIndex: 'name',
    hideInSearch: true,
    width: 200,
    fixed: true,
  },
  {
    title: '标识编码',
    dataIndex: 'key',
    width: 200,
    hideInSearch: true,
  },
  {
    title: '版本',
    dataIndex: 'version',
    width: 100,
    hideInSearch: true,
  },
  {
    title: '创建时间',
    width: 200,
    dataIndex: 'created',
    hideInSearch: true,
  },
  {
    title: '操作',
    dataIndex: 'action',
    hideInSearch: true,
    width: 100,
    fixed: 'right',
  },
];

// 模型类型
const ModelType = [
  {
    value: 0,
    label: '流程模型',
  },
  {
    value: 2,
    label: '表单模型',
  },
  {
    value: 3,
    label: '应用模型',
  },
  {
    value: 4,
    label: '决策表模型',
  },
  {
    value: 5,
    label: '案例模型',
  },
];

export { columnsData, ModelType };
